/*******************************************************************************
* Project: QSAR(Cute Software Architecture)
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: ComStackCfg.c
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: ComStack
*
*******************************************************************************/

/** HEADER FILES **/
#include "ComStackCfg.h"


/** MACRO DEFINITION **/


/** TYPEDEF DEFINITION **/


/** LOCAL DATA DECLARATION **/
static MetaDataType MetaData[ComStackConf_Pdu_Max];


/** LOCAL DATA DECLARATION **/


/** LOCAL DATA **/

static MetaDataType MetaData[ComStackConf_Pdu_Max] = 
{
    {8u, {0x00}}, /* Tx_Channel1_Can1_0x101 */
    {8u, {0x00}}, /* Tx_Channel1_Can2_0x102 */
    {8u, {0x00}}, /* Tx_Channel1_Can3_0x720 */
    {8u, {0x00}}, /* Tx_Channel1_Can4_0x500 */
    {8u, {0x00}}, /* Rx_Channel1_Can1_0x201 */
    {8u, {0x00}}, /* Rx_Channel1_Can2_0x202 */
    {8u, {0x00}}, /* Rx_Channel1_Can3_0x710 */
    {8u, {0x00}}, /* Rx_Channel1_Can4_0x7DF */
    {8u, {0x00}}, /* Rx_Channel1_Can5_NM */
};

/** GLOBAL DATA **/
PduType Pdu[ComStackConf_Pdu_Max] = 
{
    {8u, (MetaDataType*)(&MetaData[ComStackConf_Pdu_Tx_Channel1_Can1_0x101])},
    {8u, (MetaDataType*)(&MetaData[ComStackConf_Pdu_Tx_Channel1_Can2_0x102])},
    {8u, (MetaDataType*)(&MetaData[ComStackConf_Pdu_Tx_Channel1_Can3_0x720])},
    {8u, (MetaDataType*)(&MetaData[ComStackConf_Pdu_Tx_Channel1_Can4_0x500])},
    
    {8u, (MetaDataType*)(&MetaData[ComStackConf_Pdu_Rx_Channel1_Can1_0x201])},
    {8u, (MetaDataType*)(&MetaData[ComStackConf_Pdu_Rx_Channel1_Can2_0x202])},
    {8u, (MetaDataType*)(&MetaData[ComStackConf_Pdu_Rx_Channel1_Can3_0x710])},
    {8u, (MetaDataType*)(&MetaData[ComStackConf_Pdu_Rx_Channel1_Can4_0x7DF])},
    {8u, (MetaDataType*)(&MetaData[ComStackConf_Pdu_Rx_Channel1_Can5_NM])},
};

/** LOCAL FUNCTION DECLARATION **/


/** GLOBAL FUNCTION DECLARATION **/



